package com.dao;

import com.model.FAddress;
import com.model.Page;

import java.util.List;

public interface FAddressDao {
    FAddress getAddressById(int id);
    FAddress getAddressByUserId(int id);
    List<FAddress> list(Page page);
    int total(Page page);
    int insertAddress(FAddress fAddress);
    int updateAddress(FAddress fAddress);
    int deleteAddress(int id);
}
